|
|
|
|
<mongoGridFS variable>.GetFileInfo (Function) In french: <Variable mongoGridFS>.RécupèreInfoFichier Allows you to get information about a MongoDB file (gridFS). cntMDB is mongoConnection("srv-mongodb://db1.example.net") gclGridFS is mongoGridFS gclGridFS.Database = cntMDB.Database["CRM"] Fi is mongoGridFSFileInfo Fi = gclGridFS.GetFileInfo("product.png") Trace(Fi.Size) Trace(Fi.ContentType)
Syntax
<Result> = <File system>.GetFileInfo(<File name>)
<Result>: mongoGridFSFileInfo variable MongoGridFSFileInfo variable containing information about the file. <File system>: mongoGridFS variable Name of the mongoGridFS variable that corresponds to the Mongo file system to use. <File name>: Character string Name of file found in the MongoDB file system whose information must be retrieved.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|